How to make a thermoelectric generator